package Servidor.Modelo.Games;

/**
 * @author Angel Lopez
 */
public class Player {
    private int id_player;
    private String nick;
    private int position;
    private int wait;
    private boolean pit;
    private boolean active;

    public Player() {
        id_player = 1;       
        position = 0;
        wait = 1;
        pit = false;
        active = true;
    }

    public Player(int id_player) {
        this();
        this.id_player = id_player;
    }

    public int getId_player() {
        return id_player;
    }

    public void setId_player(int id_player) {
        this.id_player = id_player;
    }

    public int getwait() {
        return wait;
    }

    public void setwait(int wait) {
        this.wait = wait;
    }

    public int getposition() {
        return position;
    }

    public void setposition(int position) {
        this.position = position;
    }

    public boolean isPit() {
        return pit;
    }

    public void setPit(boolean pit) {
        this.pit = pit;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public int getWait() {
        return wait;
    }

    public void setWait(int wait) {
        this.wait = wait;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }
    
    
    
    
    
    
    
    
    
    
    
}


